import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

import { AngularFireModule } from '@angular/fire/compat';
import { AngularFireDatabaseModule } from '@angular/fire/compat/database';
import { env } from 'src/app/env';
import { ListaComponent } from './lista/lista.component';
import { AboutComponent } from './about/about.component';
import { AlkatreszfelvetelComponent } from './alkatreszfelvetel/alkatreszfelvetel.component';

import { ReactiveFormsModule } from '@angular/forms';
import { NavbarComponent } from './navbar/navbar.component';
import { SzerkesztesComponent } from './szerkesztes/szerkesztes.component';
import { KeresesComponent } from './kereses/kereses.component';
import { LoginComponent } from './login/login.component';
import { SignupComponent } from './signup/signup.component';

import { AngularFireAuth } from '@angular/fire/compat/auth';
import { EmailverComponent } from './emailver/emailver.component';

@NgModule({
  declarations: [
    AppComponent,
    ListaComponent,
    AboutComponent,
    AlkatreszfelvetelComponent,
    NavbarComponent,
    SzerkesztesComponent,
    KeresesComponent,
    LoginComponent,
    SignupComponent,
    EmailverComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    AngularFireModule.initializeApp(env.firebaseConfig),
    AngularFireDatabaseModule,
    ReactiveFormsModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
